//
//  HttpClient.h
//  iFlick
//
//  Created by vhly on 10-8-26.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol HttpClientDelegate;


@interface HttpClient : NSObject {
	id<HttpClientDelegate> delegate;
}

@property (nonatomic, retain) id<HttpClientDelegate> delegate;

- (void)submitRequest:(NSMutableURLRequest *)req;

@end

@protocol HttpClientDelegate

- (void)submitStart;

- (void)onProcessStart:(NSInteger)index total:(NSInteger)count;

- (void)onProcessSend:(NSInteger)processLen total:(NSInteger)count;

- (void)onProcessRecieve;

- (void)submitFinsihed;

@end

